<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%-- <!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>用户下载记录查询查询</title>
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/easyui/themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/easyui//themes/icon.css">
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/easyui/demo/demo.css">
	<script type="text/javascript" src="${pageContext.request.contextPath}/js/easyui/jquery.min.js" ></script>
	<script type="text/javascript" src="${pageContext.request.contextPath}/js/easyui/jquery.easyui.min.js"></script>
	<script type="text/javascript">
	    
	function getData() {
		var url = "${pageContext.request.contextPath}/personaldownreport/checkone.do";
		var data = {phnumber:$('#phonenum').val()}
		$.post(url,data,function(res){
			var json = JSON.parse(res);
			alert(json);
			$('#tablecorp').datagrid('loadData',json)
			$('#tablecorp').datagrid('reload'); 
		})
	}
	</script>
</head>
<body> --%>
	<h2>用户下载记录查询查询</h2>
	<div>
	<input id="phonenum" type="text" />
	<input id="btnsub" type="submit" value="查询" onclick="getData()">	
	</div>
	<table id="tablecorp" class="easyui-datagrid" title=" " style="width:700px;height:250px"
			data-options="singleSelect:true,collapsible:true">
		<thead>
			<tr>
				<th data-options="field:'logid',width:80,halign:'center'">日志编号</th>
				<th data-options="field:'logtime',width:80,halign:'center'">操作时间</th>
				<th data-options="field:'phonenumber',width:80,halign:'center'">用户号码</th>
				<th data-options="field:'ttlid',width:80,align:'right',halign:'center'">用户生命期标识</th>
				<th data-options="field:'price',width:80,align:'right',halign:'center'">铃音单价</th>
				<th data-options="field:'resourcecode',width:80,halign:'center'">资源编码</th>
				<th data-options="field:'downdate',width:200,align:'center',halign:'center'">下载日期</th>
				<th data-options="field:'spcode',width:80,align:'center',halign:'center'">sp编码</th>
				<th data-options="field:'spname',width:80,align:'center',halign:'center'">sp名称</th>
				<th data-options="field:'sendphonenumber',width:80,align:'center',halign:'center'">赠送方号码</th>
				<th data-options="field:'sendttlid',width:90,align:'center',halign:'center'">赠送方用户生命期标识</th>
				<th data-options="field:'downtype',width:90,align:'center',halign:'center'">下载方式</th>
				<th data-options="field:'resourcetype',width:200,align:'center',halign:'center'">资源类型</th>
				<th data-options="field:'resourcename',width:90,align:'center',halign:'center'">资源名称</th>
				<th data-options="field:'uploadtype',width:80,align:'center',halign:'center'">上传类型</th>
				<th data-options="field:'corpdeptid',width:80,align:'center',halign:'center'">集团部门编号</th>
				<th data-options="field:'feemark',width:110,align:'center',halign:'center'">计费标志</th>
				<th data-options="field:'feetype',width:120,align:'center',halign:'center'">集团联系人电子邮件</th>
				<th data-options="field:'cansplit',width:100,align:'center',halign:'center'">收费方式</th>
				<th data-options="field:'canspdate',width:100,align:'center',halign:'center'">是否可拆分使用</th>
				<th data-options="field:'relativetime',width:100,align:'center',halign:'center'">是否可更新</th>
				<th data-options="field:'extendtime',width:100,align:'center',halign:'center'">铃音相对有效期</th>
				<th data-options="field:'operatetype',width:100,align:'center',halign:'center'">操作标志</th>
				<th data-options="field:'usertype',width:100,align:'center',halign:'center'">付费类型</th>
				<th data-options="field:'adtype',width:100,align:'center',halign:'center'">操作员类型</th>
				<th data-options="field:'admincode',width:100,align:'center',halign:'center'">操作者代码</th>
				<th data-options="field:'operator',width:100,align:'center',halign:'center'">操作来源</th>
				<th data-options="field:'description',width:100,align:'center',halign:'center'">描述</th>
				<th data-options="field:'operateid',width:100,align:'center',halign:'center'">操作编号</th>
				<th data-options="field:'modulecode',width:100,align:'center',halign:'center'">渠道编码</th>
				<th data-options="field:'persontoneids',width:100,align:'center',halign:'center'">个人铃音记录编号</th>
				<th data-options="field:'canuserupdate',width:100,align:'center',halign:'center'">是否是用户可自主更新音乐盒</th>
				<th data-options="field:'useintegral',width:100,align:'center',halign:'center'">使用积分数</th>
				<th data-options="field:'ringcardno',width:100,align:'center',halign:'center'">彩铃卡卡号</th>
				<th data-options="field:'availabledatetime',width:100,align:'center',halign:'center'">到期时间</th>
				<th data-options="field:'priceunit',width:100,align:'center',halign:'center'">价格单位</th>
				<th data-options="field:'productid',width:100,align:'center',halign:'center'">产品编号</th>
				<th data-options="field:'validday',width:100,align:'center',halign:'center'">资源有效日期</th>
				<th data-options="field:'resourceid',width:100,align:'center',halign:'center'">资源ID</th>
				<th data-options="field:'usdpip',width:100,align:'center',halign:'center'">USDP所在机器的IP地址</th>
				<th data-options="field:'relativefreetime',width:100,align:'center',halign:'center'">relativefreetime</th>
				<th data-options="field:'downloadoperator',width:100,align:'center',halign:'center'">downloadoperator</th>
				<th data-options="field:'downloadmodulecode',width:100,align:'center',halign:'center'">downloadmodulecode</th>
				<th data-options="field:'downtime',width:100,align:'center',halign:'center'">downtime</th>
			</tr>
		</thead>
	</table>

<!-- </body>
</html> -->

